from flask import Flask,render_template

app = Flask(__name__)

#路由地址
@app.route('/')
def index():
    items=['python','java','c++','php','html']

    return render_template('index12.html',items=items)

if __name__ == '__main__':
    #启动web应用服务
    app.run(debug=True)